if(isNaN(parseInt(txtbox.value)) || 0 > test || test > 100 )
{
alert('Please provide a valid integer between 0 and 100.');
}
else
{
txtbox.value=parseInt(txtbox.value);
}
},
adv_toggle_state:function(state)
{
var scheme = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch).getIntPref("extensions.clrtabs.scheme");
var scheme = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch).getIntPref("extensions.clrtabs.scheme");